package com.pg.free.screen;

import com.pg.free.stage.MenuStage;
import com.pg.free.util.Const;
import com.pg.free.util.Logger;

public class MenuScreen extends GameScreen {

	private MenuStage menuStage;

	public MenuScreen() {

	}

	@Override
	public void show() {
		menuStage = new MenuStage(Const.viewWidth, Const.viewHeight, false,
				this.batch);
	}

	@Override
	public void hide() {
		menuStage.dispose();
		Logger.debug("MenuScreen.menuStage", "dispose");
	}

	@Override
	public void render(float delta) {
		super.glClear();
		menuStage.update(delta);
	}
}
